<? if(!defined('IN_FANWE')) exit('Access Denied'); ?>
<div class="list">
       <ul>
            <?php $j = 1; ?>            <?php $list_img_counts = array(0,0,0,0,0,0,0,0,0); if(is_array($list_img_counts)) { foreach($list_img_counts as $imgkey => $imgindex) { ?><?php $img = $album_imgs[$imgkey]; if(!empty($img)) { ?>
<li style="*width:60px;*margin-bottom:5px;"><a target="_blank" href="<?=$album_url?>"><img src="<?php echo getImgName($img,60,60,1); ?>" width="60" height="60" /></a></li>
<? } else { ?>
<li style="*margin-bottom:5px;"><a target="_blank" class="add_img" href="<?=$album_url?>"><img src="./tpl/images/no-img.gif" width="60" height="60"/></a></li>
<? } ?>
            <? if($j % 3 != 0) { ?>
            <li><span></span></li>
            <? } ?>
            <?php $j++; } } ?>
        </ul>                     	
</div>